Jump to content


passworded link to page (internal link)


3 replies to this topic

#1 Scythar

    Honored X Staff

  • Members
  • PipPipPipPip
  • 1,888 posts
  • Gender:Male
  • Location:Antwerp (Belgium)

Posted 02 July 2007 - 08:16 AM

It used to be simple for a moron like me: in Adobe Golive (6) i just named the page with the same name as the password and a wizard in Golive did the rest.
Now, in school i start using Dreamweaver CS3 and i would like the same effect:

Suppose you got an image with a link to another page from the same site (thus internal link), but when someone clicks on it with LMB instead of going straight to that page a password is askeed to fill in, and if the password is right you get to the wanted link, otherwise he just gives a "wrong password" dialogue box.

Remark:
i havent got NO database linked with logins r whatever..., nothing at all.

Is there an easy, none coded, way to do this? (like in Golive before); it doesnt have to be a very secure page, cos only noobs are going to acces it.

#2 Scythar

    Honored X Staff

  • Members
  • PipPipPipPip
  • 1,888 posts
  • Gender:Male
  • Location:Antwerp (Belgium)

Posted 09 July 2007 - 04:08 AM

anyone?

#3 Adam Sheridan

    Young Padawan

  • Members
  • Pip
  • 119 posts
  • Gender:Male
  • Location:Colchester, Essex, UK.
  • Interests:Web Design, Web Development, Graphic Design and Corporate Identity.

Posted 09 July 2007 - 04:46 AM

Yes there is a way to do this, using something called HTACCESS.

However, it will require some work from you (currently I am not sure if Dreamweaver has a function to password a directory on your website, if not I'm sure your website's Control Panel will have a tool for you to use).

It is relatively easy, so if you feel like giving it a bash I have provided some easy to understand links.

Intro to using .htaccess
http://www.javascrip.../htaccess.shtml

How to password a directory using .htaccess
http://www.javascrip...htaccess3.shtml

Hope this helps,
- Adam

#4 Scythar

    Honored X Staff

  • Members
  • PipPipPipPip
  • 1,888 posts
  • Gender:Male
  • Location:Antwerp (Belgium)

Posted 12 July 2007 - 12:47 PM

k, try to look into this.
unfortenately i am a code moron, but hey; ill read it anyway.
THX.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users