9
votes
2answers
612 views

linux command to prevent dos attack by using netstat and iptables

I want to DROP more than 200 requests per ip to prevent ddos attack. this is command that i used to detect requests count per ip : netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print ...
0
votes
1answer
39 views

How to restrict a Linux program's permissions

I'm running a native linux program from PHP using shell_exec. Specifically, calling antiword to extract text from Microsoft Word files users uploaded. However, as I've got no way of assessing ...
0
votes
1answer
70 views

More secure way of sending MySQL commands from a remote server on the command line

What is the most secure way of running SQL commands from a web server to a remote MySQL server from the command line. I can think of two ways: mysql --host mysql.mydomain.com --user admin --password ...
1
vote
1answer
902 views

How to export User Rights Assignments and import them on another machine

How would one export all of the user rights assignments from one Windows Server 2008 box and import them on another. Neither would be on a domain so this would just be local security policy.
1
vote
3answers
157 views

Security issues of Running command with PHP script

I want to run a command line program with PHP script. What are the security issues of doing this on VPS? I've heard a lot that this is not secure. But want to know how exactly? Also, what will be the ...
2
votes
1answer
270 views

Disable net command

How can I disable the command line net command in windows server 2003? It would probably be good to do so for security purposes.
3
votes
3answers
2k views

Change Passwords for All Users on Linux Server

I've got 10 Linux servers that I need to lock down, by resetting the passwords for every single user all at once. The story behind this is long, but the general idea is that I need it to happen very ...
0
votes
3answers
17k views

How to automatically set IE settings for all users?

I need to alter some settings on Internet Explorer (version 7, but potentially some users may still have version 6). Doing this manually is fine, change settings, restart IE, done. However, we have ...
21
votes
5answers
2k views

Avoid to keep command in history

I use bash and I would like to avoid some commands being kept in the history. Is it possible to do that for the next command only? Is it possible to do that for the entire session?
0
votes
5answers
1k views

Atrrib CMD Access Denied

I'm trying to remove the special attribute from the folder C:\windows\tasks using the command attrib -s C:\windows\tasks however I'm getting: Access denied - C:\windows\Tasks I am a local ...