Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-787fa.html
Copy link to clipboard
Copied
I dont have the option to do step 2. The plus sign is grayed out. What now?
"In the Server Behaviors panel (Window > Server Behaviors), click the Plus
button and select User Authentication > Restrict Access To Page from the pop‑up menu."
Copy link to clipboard
Copied
What type of page is it? PHP, ASP? You must been using a supported server model to use server behaviours.
Copy link to clipboard
Copied
This thread has now been moved to "Developing server-side applications in Dreamweaver".
Copy link to clipboard
Copied
html
Copy link to clipboard
Copied
>html
That's your problem.
Server behaviors (SB) create server side script - that is - script that is executed on the server. So by default, regular .html pages are not supported. Try creating a php page and add the SB. That should work
Copy link to clipboard
Copied
Everything I've read so far says html is the only way to go:
http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-787fa.html
Copy link to clipboard
Copied
>Everything I've read so far says html is the only way to go:
I'm not sure why you think so and it doesn't say that in the link you referenced. Dreamweaver inserts server side scripts into the pages you want to restrict - so the page's file extension must be one that your server supports for server side scripting. Have you tried a PHP page? I'm not sure which version of DW you are using, but versions that I have used will not insert a server behavior into an html page. Maybe that's changed in CS6?
Copy link to clipboard
Copied
using a supported server model
I tried in in server mode and got the same results
Copy link to clipboard
Copied
I have been trying to restrict access to my page but, it does not work. I have already set my access levels for users in the database. I have created a log in user page and under the Restrict access based on section, I selected the Username, password and access level option.
When I try and restrict access to page using the user authentication selection under server behavior, I get a message saying that my log in page needs to be created.
I do not understand where I am going wrong. I need to fix my site up asap. Please help.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more