Subscribe to Martyr2's Programming Underground        RSS Feed
- - - - -

Generating JSON Web Tokens (JWT) in Java or PHP

Icon Leave Comment
JSON Web Tokens (JWTs) are a mechanism for authentication that is simple to setup and easy to use. However, most of the time when you encounter this topic in a project, you get the advice to just use a JWT package. I am not quite sure why given that creating a token is relatively straight forward if you know how they are built. You can also...
* * * * *

A Brief Overview of Honey Pot Form Fields

Icon 1 Comments
What is a honey pot field?...
- - - - -

Really Simple PHP Login / Logout Script Example

Icon 11 Comments
One of the first scripts people new to PHP (or any server-side scripting really) create is a login and logout form for their site. Often times beginners get a little confused as to all the parts necessary to creating such a thing. So I thought it would be helpful if I showed a really basic and easy to use PHP login / logout script. The script uses...
* * * * *

Tricks for Getting Around the 'XMLHttpRequest Cannot Load' Security Limitation in JavaScript

Icon 2 Comments
Some number of years ago web browser developers came up with the idea of allowing Javascript to pull data from other sites into a web page on-the-fly. That day AJAX was born! Short for Asynchronous Javascript and XML, this technology provided a mechanism for web pages to change their content without requiring the whole page...
- - - - -

Using Hashes To Check If A File Changed in VB.NET

Icon Leave Comment
Once in awhile you may want to check if a file has changed its contents in some way. Perhaps you are monitoring a log file or checking to see if an exe has had a virus mess with it. One way you could do this is by hooking up a FileSystemWatcher object and monitor the file. This might be a good approach for more elaborate programs where you also...
- - - - -

Rijndael Class Example for File Encryption in C#

Icon 3 Comments
Hello readers! It has been awhile since my last post. Lots of things have been going on lately and I have been busy developing some great code for some great people. In this entry I am going to show you a bit of plain text file encryption using the Rijndael Algorithm. This example is a fairly simple one and I hope to explain the basics as I...

Page 1 of 1

September 2020

27 28 2930   

Recent Entries

Recent Comments

Search My Blog

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)