Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Can you hide Admin script from users?

Posted 30 Jan 2006 11:41:03
1
has voted
30 Jan 2006 11:41:03 Malcolm X posted:
Can you hide Admin script from users?
Hi there, i have a login page which has different access levels.
When you login to the first page, there is an Administration link.
Can this be hidden if you dont have Administration authorisation?

Replies

Replied 30 Jan 2006 15:39:20
30 Jan 2006 15:39:20 Dave Thomas replied:
yes

you can use a small if/else statement to ask IF they have correct clearance, if so response.write the code out, ELSE do nothing.

regards

Dave Thomas
<b>DMX Zone Forums Manager</b>
Tip: Use Google or our own Search function to find answers before asking. You'd be surprised what's already written <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
Replied 31 Jan 2006 22:35:03
31 Jan 2006 22:35:03 Mike Mitchell replied:
The built-in login server behavior allows you to filter by user access. Create your page with that option turned on, then go look at the code and you should be able to figure out the variables that DW is having the system check for you.

Reply to this topic