Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums How To Possible to restrict IP Addresses for users
Les
Posted on 15 Nov 2010, 13:45:36

Access: Member
Total Posts: 5
Joined: 2010-11-15

I'm a complete newbie to N-13 News and it looks a great application.

I want to try and use a secure news system for a school and for very obvious reasons would like to make it as secure as possible. As the people using the system will be working off the same fixed IP address most of the time I wondered if it might be possible to add a check to the application and wondered if anyone had any idea how this might be done or how difficult it would be?

I know you can add lists of "blocked IP" addresses to stop unwanted comments and I just thought it might be possible to add the reverse, so allowed IP addresses per user???

Any thoughts appreciated
Thanks
Les
#3039
Chris
Posted on 15 Nov 2010, 14:15:04

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

You could create a .htaccess file, place it in your news directory and inside it put this code

Code:
<Limit GET POST PUT>
order deny,allow
deny from all
allow from 1.1.1.1
</Limit>


Replacing 1.1.1.1 with your own IP address. This should prevent everyone except your IP from accessing it.
#3040
Les
Posted on 15 Nov 2010, 17:27:24

Access: Member
Total Posts: 5
Joined: 2010-11-15

Hi Chris, you're right of course. Trust me to look for a complex solution when a simple one is much better.

Thanks
Les
#3045
Network-13.com © 2013