Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-04-12 01:48:40

pvh
Member
Registered: 2011-01-12
Posts: 51

Web Server Access to directories

Web Server Access to directories

The /sitemaps, /media/banners, /media/users, /media/users/orig, /media/videos/flv, /media/videos/mp4, /media/videos/cat, /media/videos/tmb, /media/videos/vid, /media/photos, /media/photos/orig, /media/photos/thumbs, /media/pornstars, /media/videos/mobile directories must be writable by the web server!


My host suggest - We highly recommend to *not* chmod those folders to 777 as that will surely
create security issues. You can consider using suphp for your apache and php
instead and use 755 for the permissions.

To chmod the directory and all the files in it, you can issue the following
command: 'chmod -R 777 /directory'. Just replace the directory with whatever you
want. You can run this as root.


What shall I do ?

Offline

#2 2012-04-12 01:55:29

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Web Server Access to directories

If you are using suphp, then 755.

Offline

#3 2012-04-12 03:19:10

pvh
Member
Registered: 2011-01-12
Posts: 51

Re: Web Server Access to directories

I am not using suphp ...  will there be a security issue if I change the permissions to 777

Last edited by pvh (2012-04-12 03:19:22)

Offline

#4 2012-04-12 04:53:59

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Web Server Access to directories

That is as wide open as you can run it so yes the risk is there.  Now has adrian done a good job with the htaccess files and everything else, I would say yes so you are very safe and would feel comfortable doing a 777.  Suphp is just one extra layer of security in case there was a mistake in the script.

Offline

#5 2012-04-12 06:13:59

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Web Server Access to directories

You dont need to chmod all files, only the directories. The script does not check if the folders are 777, the script checks if the folders are writable by the user that runs the current apache/php process. So if you run suphp, you need to chmod them to 755 and if you run mod_php/cgi/fcgi, without any other separation mechanisms, you need to chmod them to 777.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2012-06-30 17:25:21

Mitomind
Member
Registered: 2012-06-27
Posts: 166

Re: Web Server Access to directories

Does the /video folder need to be 777?

Offline

#7 2012-07-01 07:12:09

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Web Server Access to directories

No. Only the folders in the /media/videos folder.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB