SPF, DKIM, DMARC Related Configuration for Google Apps Account

Configure SPF records Create a TXT record containing this text: v=spf1 include:_spf.google.com ~all. If you are sending email from your server (e.g. a web application sending emails through postfix server configured on your cloud), you need to add it's IP address as well, like so, v=spf1 ip4: include:_spf.google.com ~all DKIM Related Configuration Generate domain key in […]

Using Private key for File Transfer (SFTP)

This article is intended for the members of TeamDX. Following are the steps you need to take in order to transfer files using private key (without password) provided to you by your team lead.  Open the FileZilla client. From the top of the home screen, click on Edit and select Settings. On the left side of the menu, expand […]

Using Private key with PuTTY

This article is intended for the members of TeamDX. Following are the steps you need to take in order to log in to server using private key provided to you by your team lead.  Start PuTTY by double-clicking its executable file. PuTTY's initial window is the Session Category (navigate PuTTY's various categories, along the left-hand side of […]

Website Security Measures

I would like to share my personal observations and knowledge relating website security. You can add more by commenting this post. Password Hashing Passwords and other credentials must be stored hashed in Database. Use md5() or sha1() functions. Password Renew On password renew, don’t send password directly to user email rather send a renew password […]

Create Symbolic links in Windows 7

 To create symbolic link in windows 7, use command mklink. C:Windowssystem32> mklink Creates a symbolic link. MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates a Directory Junction. Link specifies the new […]

Run a Command as Administrator from the Windows 7 / Vista

 To try this out, go to the run box and type in something (cmd, for example) Now instead of hitting the Enter key, use Ctrl+Shift + Enter. You will be prompted with the obnoxious User Account Control dialog… but it will then open up a command prompt in Administrator mode.   Source: http://www.howtogeek.com/howto/windows-vista/run-a-command-as-administrator-from-the-windows-vista-run-box/

Installing Self-Signed SSL Certificate on WAMP Server

 Part I: Creating SSL Certificate 1- download windows executable file for openssl from http://slproweb.com/products/Win32OpenSSL.html and install it 2- open cmd window  3- cd to [openssl installation directory]/bin e.g if your installation directory is C:Program FilesOpenSSl, then cd to C:Program FilesOpenSSlbin 3- type in following commands     a) openssl genrsa -out privkey.pem          b) openssl req -new […]

Error in Wamp Server Configuration File after updating PHP to PHP 5.3.1

Problem: When you update PHP to version PHP 5.3.1 using WAMP PHP Addons and restart WAMP, you’ll start getting the following error. The configuration file contains a syntax error on line 863:  [EParseError] Invalid section tag    This error refers to WAMP configuration file located at installation path (e.g. d:wampwampmanager.ini) If you edit this file […]