Results for "Category: Security"
UPDATED: Added an SQL injection prevention method, Added more documentation, and a few more minor changes. This code will show you how to prevent header injection, the method GET (only allow POST from a form), unauthorized domain access, and invalid agent access. You see a lot of SQL injection prevention methods and what not, but nothing to this level. This is a first on PSC I belive. If you like it please leave some feedback and vote.
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.
Sorry guys, my first submission! Didn't realize it read my article as html! Please read it again. Ta. I was looking at password protection, and found nothing like this. It uses a file name as the password, with the file extension. The code searches the current directory on the hosting server for the file, and takes appropriate action.
Encrypts and Decrypts strings on a webpage. Source is hidden from the user, so that a cracker can only guess about the algorythm.
My first ASP project: a login page. It uses a database to verify usernames and passwords. Also includes registration ability. Comment is supplied so that less experienced programmers can also understand the code. PLEASE VOTE IF YOU LIKE THIS CODE!
This code allows the user to imput a password (within a C++ program) without any text being displayed on-screen (not even *'s)
This programm sniffs connection between 2 hosts, and shows the source-ip/port, dest-ip/port, Flags,and the Packetdata(payload). It is a nice example for rawsockets with winsock. Test is and mail me ;=)
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.
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
The encode program allows you to type in a message and it will scramble it to a char file and a key file. The decode program takes the two files and decodes your message.
Create a share in a windows environment without using DOS commands. This code was based on information learned in WMI Scripting Primer: Part 3 on the MSDN This code can easily be converted to VB.NET...
Im using 2 algorithm --> MD5 and SHA built in system.security.Cryptography
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.
Encryption / Decryption of String
mySecretData ver 1.0 Thank you for downloading mySecretData. This comprehensive php code used to keep your valuable CSS and JavaScript Files unreachable to client side. This code loads CSS Data and JavaScript code directly into browser's memory but not be downloaded to client side. If user tries to get code by entering file URI into the browser, it will not allow to download to client side. This is very effective way to keep css and javascript files secret. No way CSS and JavaScript Files are viewable to users but loads directly to browser's memory. Live demo is available at http://www.thakares.com/secret_css_js COPYRIGHT NOTICE: The code is published under GPL but should not be used for commercial purpose. Premium Version is Also available to hide other files also. Please visit http://www.thakares.com Please write to us at info@thakares.com. If you appreciate this code please give me FIVE GLOBS or FIVE STAR RATINGS
mySecuredWeb ver 1.0 ==================== This comprehensive code is used to block banned referal clients, banned IPs fro entering your site. This code may be used for special secured site without SSL. Banned IP list, Spams, spam referals can be customized and not allowed to view or enter your website. Also you may decide allowed / official OS and Brosers to enter the and others may be denied. Spam BOTs are denied to get listing in the SPAM database. Also you may choose to allow particular Search Engine to index you site and others get banned. Also you may get rescued from unwanted spam and hacking your website. This code is intended to secure your website. This code uses recursive algorithm for IP. If you like this code, please vote for five globes. E-Mail Enquiries for commercial version for web security is solicited. Please use e-mail: security@thakares.com for commercial inquiries. Please visit: http://www.thakares.com for details. Demo is Available at: http://www.thakares.com/iNetSecurity/
CAPTCHA CONTROL: myImageSecurity v 1.1 (With and Without GD Both Versions) This code provides Man-Machine Interaction (Human Interaction) for Web The security string is generated with randon angles. This simple but Powerful PHP is code used to verify True Human Interaction on the web. This Avoids automated submitions or spams on the web. The Code is well commented and very useful to restrict the user with Human Interaction only. NON-GD Version: This Version does not require GD support. Images are taken randomly from file source. Please Vote us to give better and better code in future. Thakares Infotech, Aurangabad MAHARASHTRA - INDIA Please Visit: http://www.thakares.com E-Mail: psc@thakares.com LIVE DEMO AT http://www.thakares.com/?page=contact
This is a relatively simple script to allow you to manage usernames and passwords for a protected folder using .htaccess and .htpasswd files.
This is a simple passowrd program that prints '*'s at the prompt. *UPDATED* Now the code allows you to use the 'backspace' key. Please leave feedback and let me know what you think.
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/