I wanted to limit when a client can view a certain webpage only during the hours of 12pm to 2pm. Is there any way I can achieve this by using cpanel? Can anyone llep me on this?
I wanted to limit when a client can view a certain webpage only during the hours of 12pm to 2pm. Is there any way I can achieve this by using cpanel? Can anyone llep me on this?
There's no such feature in cPanel. You might be able to use some client side scripting like javascript or server side using a perl CGI or php script, but either are not within the scope of this forum.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
IS it possible for me to run a cron job that limits access to the file for a certain time?
Hi,
I guess you could run a script (via cron) at 12 along the lines of
#!/bin/bash
chmod -R *chmodvalue* /home/thisuser/public_html/*
then at 2
chmod -R *chmodvalue* /home/thisusr/public_html/*
Hope that might help...
also just to warn you... doing this.. can get messy.
Cheers
Nerdzoll
You can setup a cron job to simply stick an .htaccess file where you want to deny access Deny From All.
You could also setup two httpd.conf files and simply have them swap out and auto restart apache.
- Paul Shepperd
4 years cpanel exp. 6 years linux exp. 8 years security exp.
6 years corporate startup/small business exp.
If I responded, and you want to IM me you can do so, not saying I will for sure have time to help, but my aim is public, thats what its there for. My email is: ME @ pshepperd.com
" Life is short, make money, and have a good time, live every day to its fullest."