SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast Incubator's Avatar
    Join Date
    Apr 2002
    Location
    Good old Belgium
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    password protection

    I need the code I must insert in my webpage to prevent somebody from rightclicking.
    The reason is: that page has a password box to fill in.
    And as any password, it is supposed to be secret. Therefore, I donīt want anyone to find out my password in the code.
    greetz,
    Inc.
    "Press any key to continue. Press any other key to exit."

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dont bother doing it like that, there are plenty of ways to get around it.

    The only proper way to do this is by using a server side language or by using htaccess, depending which server your running.

    http://www.javascriptkit.com/howto/htaccess3.shtml

  3. #3
    SitePoint Enthusiast Incubator's Avatar
    Join Date
    Apr 2002
    Location
    Good old Belgium
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks alot, thatīs just what I needed
    "Press any key to continue. Press any other key to exit."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •