Webmaster questions..

Status
Not open for further replies.

E3

Ars Centurion
387
What I m trying to do now is administration module for webmasters.

Besides normal database adminstration, I m hoping I use create a feature where he can take down the site off publishing on the web and disallows surfers from acessing the stray hyperlinks from the site.

So how exactly can I achieve this feature of suspending the site from operation? besides removing the main page manually and replacing it with a no entry page?
 

Schmutzig

Wise, Aged Ars Veteran
151
Depending on what kind of stuff you have access to, or want to do, you could do it all dynamically in something like ASP/PHP so that you have the contents of the page driven by a database, then you can make an "admin form" where you can set the variables, links, colors, etc. On that page, you could either design it to be able to "turn off" everything that you don't want people to access, or you could just specify a replacement default/index page.
 

Ruinous

Ars Tribunus Angusticlavius
6,596
Without access to the webserver administration tools, you're going to be hard-pressed to shut off access to all parts of the website. You'd have to add a header to all the pages, something like this:

code:<HR>
Code:
<?php header("Location: [url=http://your-site.com/404.php]http://your-site.com/404.php");[/url] ?>

It'd be a huge hassle. Why can't you get access to any webserver administrative tools? I mean, .htaccess (UNIX/Linux) or some CHMOD 700s would be enough.

EDIT: Ignore the stupid link in the code brackets. I can't seem to turn off the auto-link-generator.

OYBB
 

E3

Ars Centurion
387
Problem:Its a school project I m doing right now.Hence I have no higher user acces previllages to web resources with the rights given to me otherthen adding/deleting/running web files.



Objective: Probaby I have do it such a way that I don't have to go through all the normal procedures on restricting access user groups for my webfiles. Basically I m hopping to do it through a general GUI not through the ISS/Apache admistration console.

Its a suggestion stated in my project terms of reference. Back to topic, besides the simpler way of backing up and replacing a login screen for the defaultacess.asp and restoring the original when its able to acess again,vice versa. These are sort of more physical ways , are there any say...access restriction methods in asp?

Thanks for the helpful replies.
 
Status
Not open for further replies.