Password Protecting A Link On My Website

Discussion in 'HTML & Website Design' started by AdamKane, Mar 14, 2010.

  1. #1
    I was wondering. Is there a code to password protect a hyperlink on my website? It would be awesome if; when someone clicks on this link, they are prompted to enter a password. A username and password field both would be awesome. However, just a password field would do.
     
    AdamKane, Mar 14, 2010 IP
  2. adublin

    adublin Well-Known Member

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    138
    #2
    You should look into using a .htaccess file -

    Hope this helps,
     
    adublin, Mar 15, 2010 IP