Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Macnimation #1
PHP Dreamweaver and "Restrict Access to Page"
Hi,
I have created a page called members.php which contains information from a
MYSQL database, amazingly it works.
When I log in from the page login.php, the members.php page displays fine, if
i put in the wrong username and password, it does go to the error.php page as
required.
Since everything is working fine, I decided to restrict anyone from accessing
the members.php page directly, as you would, by configuring the Restrict Access
to Page Server Behaviour.
It is set to go to another page called deniedaccess.php to differentiate
between an incorrect login and direct attempt to access the page.
When I do this, even if I log in correctly via the log in page, I am sent to
the deniedaccess.php page.
If I try directly I am also sent to the deniedaccess.php page as expected.
If I remove the Restrict Access to Page behaviour the log in works again. But
I can access the members.php page directly.
Any suggestions?
cheers
Macnimation Guest
-
"Page" and "Rect" props of the Field prop in Javascript API
Page property of the Field property in Javascript Acrobat API returns an array of pages that this field exists in. On the other hand, "rect" property... -
Restrict page access to parent page only (not by permissions)
I wish to restrict access of a pop-up page to parent page only. i.e. - if a request for "popup.cfm" comes from anywhere except "launch.cfm" then... -
an "access denied" page for unauthorised page access
I would like to show an "access denied" page when an authenticated user tries to access a page for which they are not authorised (role-based). ... -
Can't choose "page setup" or "print" - Mac OS 9x
Hello I have a problem on multiple Macs when using Freehand 10. I have not found any answers on macromedia Support or on the web. Before... -
IIS 5 - GetObject fails with "Restrict Anonymous" enabled on Domain Controllers
I have a developer here with a website running with only "Windows Integrated Authentication" set on a Windows 2000 member server that uses... -
Ross Riley #2
Re: PHP Dreamweaver and "Restrict Access to Page"
Hello.
If you post the relevant code that checks for access privilege, i'll have a look
Ross Riley Guest
-
Macnimation #3
Re: PHP Dreamweaver and "Restrict Access to Page"
Hi,
Thanks for the quick response
I'll get back to you on the code.
If it's any help, the authentication is only based on username and password in
the mysql database.
I haven't added the Access level as an option, but I think that doesn't matter
with this issue?
Cheers
Macnimation Guest
-
David Powers #4
Re: PHP Dreamweaver and "Restrict Access to Page"
Macnimation wrote:
It's a bug that I notified to Macromedia over a year ago. They> If I remove the Restrict Access to Page behaviour the log in works again. But
> I can access the members.php page directly.
acknowledged it as being "high severity", and then did nothing about it.
The analysis - and solution - is here:
[url]http://friendsofed.infopop.net/2/OpenTopic?a=tpc&s=989094322&f=8033053165&m=3241024 21&r=324102421#324102421[/url]
You need read only the first post (from me).
--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
[url]http://computerbookshelf.com[/url]
David Powers Guest
-
dean_shagrath87@yahoo.com #5
Re: PHP Dreamweaver and "Restrict Access to Page"
use dreamweaver cs5. it has the ability to restrict.
dean_shagrath87@yahoo.com Guest



Reply With Quote

