• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: General site security question
PostPosted: Thu Apr 05, 2012 11:50 pm 
Offline
Forum Members
Forum Members

Joined: Sun Feb 28, 2010 12:52 am
Posts: 33
One of the websites that I manage is running CMSMS 1.10.3. It is a car club site and while most of the site is open to the public, there are a couple of sections that are supposed to be for members only. I have a login page that allows access to the members only page.

However, I have found that a web search for content on the members only pages will bring up the content even if you are not logged in.

Does anyone have any ideas on how to protect these pages? In particular, the club newsletter page is protected but there is a sample newsletter that is available to the public. These are all in their own directory and I guess a .htaccess file would block most access but I am not sure how to set this up to allow the public to view only 1 file and members to view all files.

Thanks


Top
 Profile  
 
 Post subject: Re: General site security question
PostPosted: Fri Apr 06, 2012 2:51 am 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11865
Location: Arizona
If you are using FEU then you can use the Content type: protected and if they aren't logged in they can see those pages, not even google should be able to find them...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: General site security question
PostPosted: Fri Apr 06, 2012 3:04 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Dec 23, 2008 8:39 pm
Posts: 1321
How are you restricting your pages?


Top
 Profile  
 
 Post subject: Re: General site security question
PostPosted: Fri Apr 06, 2012 12:32 pm 
Offline
Forum Members
Forum Members

Joined: Sun Feb 28, 2010 12:52 am
Posts: 33
I am using Protected Content on the pages that I want to restrict access to. If I try to access protected content directly by creating a url to the directory, I get a 404 error. However if I use a full link to a file i.e. "http://my.site/files/file.txt then it comes up.

This question came about because someone contacted the newsletter editor about an article on the website in the members only section to get more info and included the link to the file in his email. I guess a member must have sent him the link as I can't get to it by browsing if I am not logged in. And the directory in question is at the level above the CMSMS install so it is not easy to find.

Thanks for the suggestions.


Top
 Profile  
 
 Post subject: Re: General site security question
PostPosted: Mon Apr 16, 2012 6:54 pm 
Offline
Forum Members
Forum Members

Joined: Sat Aug 06, 2011 3:17 pm
Posts: 10
The .txt file resides on the server and has its permissions controlled differently to cms pages... (or in this case not at all).

I have successfully used the Download Manager module (which works with feu) to control access to files.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting