This content has been marked as final.
Show 7 replies
-
1. Re: Password (ONLY) Protect a Page
bregent Dec 22, 2008 10:52 AM (in response to andrewmcgibbon)Anything is possible. How secure does this need to be? What is your experience with server side scripting? -
2. Re: Password (ONLY) Protect a Page
andrewmcgibbon Dec 22, 2008 11:00 AM (in response to andrewmcgibbon)It does NOT need to be particularly secure. We just don't want folks who haven't seen the magazine ad to be able to view it.
I am not overly experienced with server side scripting. -
3. Re: Password (ONLY) Protect a Page
Newsgroup_User Dec 22, 2008 12:26 PM (in response to andrewmcgibbon)It's simple in PHP. Just create your page with the single field in a form.
Submit the page to itself, and code the password explicitly in the page.
You'd also need to set a session variable if the password is correct, so
that your other "protected" pages can check to make sure that the person
requesting them is legitimately logged in.
What scripting language can you use on your server?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"andrewmcgibbon" <webforumsuser@macromedia.com> wrote in message
news:gioo5c$cnh$1@forums.macromedia.com...
> It does NOT need to be particularly secure. We just don't want folks who
> haven't seen the magazine ad to be able to view it.
>
> I am not overly experienced with server side scripting.
-
4. Re: Password (ONLY) Protect a Page
andrewmcgibbon Dec 22, 2008 12:44 PM (in response to andrewmcgibbon)Thanks so much for the response guys. What I found worked and was easier was simply using a spry validation text field. We don't have a user login for this area or even any kind of registration. We were just trying to make sure that only those who saw the ad could log into this offer.
Thank you again for the help and have a great holiday!
Andy -
5. Re: Password (ONLY) Protect a Page
Newsgroup_User Dec 22, 2008 12:58 PM (in response to andrewmcgibbon)Anyone who turns off javascript will be able to log in, though.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"andrewmcgibbon" <webforumsuser@macromedia.com> wrote in message
news:giou89$k3m$1@forums.macromedia.com...
> Thanks so much for the response guys. What I found worked and was easier
> was
> simply using a spry validation text field. We don't have a user login for
> this
> area or even any kind of registration. We were just trying to make sure
> that
> only those who saw the ad could log into this offer.
>
> Thank you again for the help and have a great holiday!
>
> Andy
>
-
6. Re: Password (ONLY) Protect a Page
andrewmcgibbon Dec 22, 2008 1:31 PM (in response to andrewmcgibbon)Murray,
Thanks so much for bringing that to my attention. In this case, it's not quite as troublesom as security is not a real issue.
A -
7. Re: Password (ONLY) Protect a Page
Newsgroup_User Dec 22, 2008 2:06 PM (in response to andrewmcgibbon)I figured - just so you'll know.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"andrewmcgibbon" <webforumsuser@macromedia.com> wrote in message
news:gip0va$n9h$1@forums.macromedia.com...
> Murray,
>
> Thanks so much for bringing that to my attention. In this case, it's not
> quite as troublesom as security is not a real issue.
>
> A



