www.webdeveloper.com
Results 1 to 2 of 2

Thread: button activated on password protected login

  1. #1
    Join Date
    Sep 2006
    Posts
    81

    button activated on password protected login

    Hello,

    I'm not sure that i have posted this in the best forum so feel free to move it if its inappropriate.

    I would like to add a password protected button to my website which will open a form to add content.

    Ideally i would like this button to be greyed-out until the user logs in but i have no idea how this is accomplished - please can someone help.


    Many thanks for your time & attention

  2. #2
    Join Date
    Mar 2007
    Location
    Orlando
    Posts
    670
    I suggest that you do not even put the button on the page unless you are logged in. Anyone could very easily activate disabled buttons via javascript or a tool like Firebug.

    That said, you should store your username and password either in a database or a file of some sort. I would use sessions to track the users and generate the code for the button if they are logged in.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles