Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 15427

Computer security is security applied to computing devices such as computers and smartphones, as well as to both private and public computer networks, including the whole Internet.

2 votes
1 answer
194 views

Will this code make some attacks (XSS, CSRF...) harder to do?

I have following code on my login page (now i use it for preventing POST variable resubmit on page refresh): <?php $cleaner = md5(uniqid(rand(), TRUE)); $_SESSION["cleaner"]=(empty($_SESSION["cleane …
SomeoneS's user avatar
  • 191
5 votes
3 answers
9k views

Custom login system (PDO, sanitizing, hash)

I have made a custom login form for my site, with the help of PDO (until now I used simple MySQL connection and sanitizing), and it looks like this: session_name('NEWCOOKIE'); session_start(); requi …
SomeoneS's user avatar
  • 191
2 votes
1 answer
5k views

Using AJAX to secure sessions and save messages

I have been working with PHP sessions and login protected pages for some time, but I want to start using some AJAX for managing some actions inside login protected pages (easy way with jQuery). Here …
SomeoneS's user avatar
  • 191