PHP Access To A Folder
Apr 24, 2007How do I give PHP access to a folder on my server?
View 4 RepliesHow do I give PHP access to a folder on my server?
View 4 RepliesIf i give someone ftp access to a folder, is it possible for them to gain access to other parts of the website that they aren't allowed to?
Also it it possible for them to like upload a virus and then somehow run it also?
Could they possible get my server root password also?
why i cannot access the folder with FTP permission from Hosting Server?
I configured Serv-U FTP on a new server with domain name "agnhan.net" and this one still working on the old server.
I have a file on my server called admin.php and a folder called "admin" I only want 2 IP addresses to be allowed access to those files.
can this be done in .htaccess? if so can someone give me an example?
I have spent ages trying to work it out myself but I'm a bit of a noob
thanks in advance
what should .htaccess files be chmod'ed to ideally?
I'm planning a website at the moment but I'm wondering about a slight issue, regarding the local root folder of a website.
Currently, I'm using Dreamweaver to create a website and I have had no problems of uploading my files to a site through Dreamweaver before. But I will not have access to my computer for about one month every year. However, I have a laptop available during that month. But since my local root folder is located on my stationary computer it seems impossible for me to, in any way, use that laptop to manage my site (upload new files to the server).
I want to grant different access rights for certain folders to a large group of users of my apache WebDav server.There are access control lists for each folder on the server. Based on the rights in the access control lists the users should only have access to the folders listed in the ACL lists.In addition to that some users have only "read", some also "write" rights for the folders.How can I set up the described access rights on my WebDav server?
View 1 Replies View RelatedOn my VPS I would like to set the /tmp folder to 777 and point to it with session.save_path.
The VPS will host a number of sites, but I will have sole control of them. ie. the account holders will not have access to cpanel.
If it makes any difference, the server is running phpSUexec.
What are the risks involved with this?
I have two servers.
One server has a folder named 'vidfiles' and I want to transfer this entire folder (all 70gigs) to another server I just got.
Both servers are linux and use CPanal/whm.
What would be the command to get the files to transfer direct from server to server?
How can I allow only one ip or a list of ip addresses to access port 8443.I need to limit access this port to few ip addresses and not everyone
View 6 Replies View RelatedI found a great little app called ID Shutdown Manager which bascially lets you do stuff like wake on LAN, Shutdown, Log Off etc.
The App also has a cgi script which you can call from a web server so you get a web interface to the program.
This is exactly my reason for getting the app as I just wanted to host a web page where I could login from the internet and wake on lan my media PC.
Ok so...
The app gives you all the iis or apache setup instructions and tells you to place the cgi script which is actually a .exe into the scripts folder and then enable basic authentication for it.
Done.
So if I navigate to <SERVER>/scripts/sdmancgi.exe its supposed to give me a user / pass prompt and then when login successful I see the app and can wake on lan etc.
ok I have got this to work
on the actual machine where server is running I can access it in IE7 by localhost etc.. and it works
However when I try to access from another PC in my lan by typing <SERVER>/scripts/sdmancgi.exe I get a nice little message saying the content cannot be displayed you may require to insall a program or something to display it.
If I try to access the page from firefox on same remote PC, it works!
I can also access page from outside my LAN, it works on my N95 browser.
Also I have had friends try it from firefox from the Internet and they say it works as well.
Forgot to mention I am running on port 8081 as I already have other servers running on 8080 and 80 (one is my router and the other server installed itself from setup.exe and I dont know what server its using)
I have also tried latest apache server as well as some other free one. Both have the same effect. Ok in firefox, not in IE.
One would think its a problem with the cgi file not compatible with IE7 however, I even tried to go to default page setup in IIS <SERVER>:8081 and I get the same message. So at this point the server hasnt even tried to access CGI or prompt for Basic Authentication.
I tried googling and not much luck. I read something about CSS and when I view source of failed web page from IE7 it mentions something about CSS so dont know if this is it?
I'm having trouble with a vps and the ips won't ping and can't connect via ssh.
I can via hypervm console when I run apt-get update but it doesn't download anything.
I have successfully installed dns only to my vps. the problem is when i try to add it to the cluster system on my other vps it asks for a remote access key, so i visit both ip:2087/scripts/setrhash and ip:2086/scripts/setrhash and it shows an unable to connect error in firefox.
this is both using [url]
does anyone know how i can access the remote access key?
I have windows servers that I'll be co-locating very soon. I have purchased a Dell 2161ds-2 and an APC remote boot power strip. Could someone please tell me the best way to secure remote access to these products. Do I put them on public IP's and allow them through the firewall or do I put them behind the firewall and access them after I authenticate through the firewall.
View 6 Replies View RelatedThe folder is according to my FTP program chmod 755 but still when I visit the directory though the web browser it gives me the error "403 Forbidden". When I try to change the chmod in my FTP program I get the error "550 SITE CHMOD command failed.". What can the problem be? Yesturday I could get access to that folder with the MRTG graphs and today, just "403 Forbidden". What can have happened?
View 7 Replies View Relatedi want to know how i can add quota to different folders,
For example the ftp user "test" have the folder "/home/admin/folder/test/" but i want to set a max quota that he can have on the folder, i tried with ftpquota but the problem is that he can add files from http too.
How can i add quota to folder test?
I host a website on a windows server
and once in a while, i check all the root folders to find a folder that holds 40GB of folder in a folder in a folder... (i never get to the actual files)
Is there a way to prevent this?
i have a forum,run on a server,
and i want to put the forum's attachment folder on another cpanel account (it is installed cemtos / cpanel and csf),
i want to how can i set on the cpanel account (it is installed cemtos / cpanel and csf) to let the forum can upload the files to the attachemnt folder on it directly?
i install joomla on my server but need 777 permission.
can anyone give me to advice for best resolution security for 777 permission?
I have an folder in my server, total size is about 5GB. I want to zip it and cut into 5 parts sized 1GB. Which command should i run.
After reading via google, i just found out run
zip -r filename.zip homedir/
to create a zip file.
i deleted everything from my hosting account. i wanted to delete the content of the public_html, but i deleted everything. i downloaded 3 back-ups from cpanel.. every back-up is different.
the thing is.. i cannot make it work back. seems that the email addresses are working, databases and everything seems to work.
folder structure of a similar account?
i cannot make the web-site to work. the link from www folder is gone. i mean when i copy something to public_html is not copied into www folder anymore.
How can i RAR a folder in my server?
I have a folder with lots of files, and i want to RAR that folder in my server.
Is there any SSH command or something?
I know i can TAR and GZIP but i want to RAR it...is it possible?
not subdomain but just a simple folder after my domain
I want to host it some where else
Is that possible or should I give up
i got whm / centos 4.*
the tmp folder keep hitting 100% i just cleaned yesterday!
it has a 485M size.
/var/tmp
most of extension are *.wrk
I'd like to backup a big folder on my hosted Linux server using SSH from my desktop at home.
Lets say the folder is: public_html/folder1/folderYX
I'd like to zip it and download it to my desktop hard drive.
What commands do I run from my SSH client after I have logged in to my server?
how to force that the PHP files won't run if the folder permission is 777
I saw this in micfo.com
but I want to know how to do this
My web host sets up public_html for http and public_ssl for https traffic.
So, if I want my whole site to be secure, I place everything in public_ssl.
However, I am using a shopping cart system inside a CMS.
I want only certain parts to be secure - e.g. the last stage of the checkout procedure.
At the moment, I can only achieve this by having two copies of the CMS/shopping cart, one in public_html and one in public_ssl.
Whilst this approach works (at least from the shopper's point of view), there are lots of problems from a content management point of view.
My host is of the opinion that "this is the only way it can be done".
Is it possible to enable ssl on public_html, have a single copy of the cms there, and then switch between secure and non-secure mode as needed?
If this is possible, can you provide me with a technical description of the setup that I can pass on to my host?