Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-04-11 20:58:17

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Any security issues regarding registration?

Are there any security or other issues I should be aware of if I don’t use a password-protect or a self-register plugin? It’s a community site where the public can add photos and articles. Registration is via zem_contact_reborn and requires the new registrant to email their first article or photo to show they are not timewasters. Admin then approves it and sends them their login details. They get staff writer privileges.


BB6 Band My band
Gud One My blog

Offline

#2 2011-04-12 05:01:22

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,376
Website GitHub Mastodon

Re: Any security issues regarding registration?

You should store uploaded files on a location which is not accessible from the web.

Offline

#3 2011-04-12 10:19:29

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Any security issues regarding registration?

wet wrote:

You should store uploaded files on a location which is not accessible from the web.

Thanks. I’m using Apache server and according to the weblog article I should “rename the .htaccess-dist file in the /files directory to .htaccess to prohibit direct URL access to your files. Thus the only route to these files becomes through /file_download.” I’ve done that and also moved /files out of the root directory. Are there any other similar issues or common sense recommendations?


BB6 Band My band
Gud One My blog

Offline

#4 2011-04-12 10:34:03

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Any security issues regarding registration?

It’s not necessary to do both, since .htaccess has no effect outside the document root. Doesn’t hurt though, in case the /files location by accident falls inside document root.

Offline

#5 2011-04-12 10:41:03

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Any security issues regarding registration?

ruud wrote:

It’s not necessary to do both, since .htaccess has no effect outside the document root. Doesn’t hurt though, in case the /files location by accident falls inside document root.

Thanks Ruud, I thought that but moved /files anyway as it seems a good habit to get into.


BB6 Band My band
Gud One My blog

Offline

Board footer

Powered by FluxBB