Results for "Category: Security"
Hopefully aiding in writing more secure PHP scripts.
Crypt and decrypt a string without the standard PHP functions.
Use this code for secure pages on you're website. You have to login with a username and password, the code will check if the user excists, if so the code will generate a unique sessionid and save that sessionid into the database. On every page that you want to secure this code will first check if the sessionid is in the temptable. So no changes for hackers! After unzipping the files first open ReadMeFirst.txt!
New version. This will detect any suspicious open socket that the user is running and if found in an array, it will not let the user proceed to the website, with the ability to allow certain hosts to pass the scan, and disallowing certain hosts completely. You can define a redirect page to redirect the user to upon open socket.
This is a Username And Password Login for a website written in PHP4 and html uses mySQL to store user information and to validate usernames and passwords. Sorry for the .doc format here it is in .txt
Helps protect applications, one example for VB, I coded this in PHP... Can be used for many things. I fixed almost all the bugs, working on the next version.
This is a basic secure login script for single-user purposes for things like accessing administrator protected areas, etc. It consists of 2 PHP files: index.php, which is what contains the user-name and password form, and login.php, which checks if the user-name and password are correct. I also made it if the password is right but the user-name isn't, then it will say the user-name is invalid, and if the password is wrong but the user-name is right, it will say the password is invalid, and if the user-name and password are both wrong, it says the user-name and password were both invalid. This is for beginner PHP programmers. Also if your wondering what the N3RDWARE News thing is about, it's because I was using this for my news posting script, but decided I would take the login script out and post it here to make a small come-back in the PHP world. This is my first PHP submission in 2 or 3 years here on Planet Source Code! Please don't leave feedback about things like there's already enough of these type things on here and we don't need anymore, and things of that nature. I would appreciate posetive and useful feedback only please. Good-luck to you beginners out there!
This is a relatively simple script to allow you to manage usernames and passwords for a protected folder using .htaccess and .htpasswd files.
This code that was writen to show how to make an log-in system on your site (but you can also use it as an template). But no just that. It also features a security agains breaking the password through brute force (= trying a lot of passwords). And different access levens, an easy to use admin interface. You can even make user into admins, delete there accounts and activate there account's (the normally recieves an code by email to activate the acount). updated(1/1/2003): changed config.inc into config.php for increased security. updated(2/1/2003): added comments, fixed some very small bugs. updated(7/1/2003): added userlevels, simplyfied the security header for member-only pages. updated(11/1/2003): fixed some bugs, made the admin screen "htmlproof", changed the activationnumber into an activationcode. updated(22/1/2003) fixed bugs (again, code is never perfect) added version.txt added more comments updated(3/3/2003) fixed the notices appearing if the pages are accessed directly added documentation.html more configuration in config.php updated(15-6-2003) added remember me function added more validation added tripod support added a PM system MORE INFO + LIVE DEMO: HTTP://UTIMER.PCPLAYGROUND.COM/ALS/
Run's a file or an application with a different user account than the user logged on. There was a small problem with type marshling, but it's now fixed!
This code will enum all groups and users currently available on your local machine the pure .NET way. There is no need of declaring some APIs.
I took this code from MSDN's November Magazine and used it in many project of mine..Its very useful security measure. I did change it to make it more understandable for all you .net coders there. Zip file includes a type lib and an example project. Hope you guys find it useful.
Cold Steel - Defender is a file encryption/decryption utility (using 3DES) that gives you the option to use a "USB Hard drive" as a secondary means of security in addition to just using a password. A USB drive is not required to use this program, but is suggested, as it will insure that only the person who knows the password -and- has the physical USB DRIVE can decrypt a file. Nothing is stored on your USB drive; we only extract some unique information from the USB drive and create a key from it.
This little sample shows the use of the ASP.NET form authentication. It comes with forms for registration/login/edit user data/logoff. The data is saved in a database using oledb. If you like this sample, please don't forget to vote...
The idea is that when the client connects to a server, each of the nodes create a pair of keys, and each send their public keys to the other side. after that each node encrypts the data using the other node's public key and decrypts the data it recieves using its own private key. almost impossible for a sniffer to decrypt the data. Remember that this is a just a sample on how to do this and it does not have many features including events and async data tranfer.
Encryption / Decryption of String
Cool KeyGenerator for implement in your application.Make your application strong. KeyGenerator generates an unique serial number using the username. Just download it and see the rest. Sorry my bad english.. :P La aplicacion tiene los comentarios en español tambien. :P
This code will encrypt and decrypt files. The files are stored in 2 folders called encrypted and decrypted files on the c drive. These folders are created automatically. Include the following namespaces: System.IO, System.Text, System.Security.Cryptography
This program blocks messenger service spam. I saw that there was no thing for VB.NET so here it is. This code also shows registry adding, keys, shell commands, some basic form functions, system tray icon in VB.NET, getting the application path in VB.NET, short code, tons of comments. A similar program like this might cost you $ 30 on web sites. Get it for free! HOPE YOU GUYS ENJOY IT AND VOTE FOR ME. Visit www.fusai.rules.it for more software.
A file that replaces the old coder.c. Thanks to Brett Taylor. Found at http://www.cprogramming.com/source.html