What's a .bak file extension
![]() |
Person: Guest | Posted: 09.01.09
Question: Ive inherited a large website that has been around for near 10 years, and im attempting to clean the server up to save space and make room for some of the new files. Can someone tell me what the heck a .bak file is this guy has these everywhere. I know php, and html, and some other stuff, but cant get these to open in a browser. |
![]() |
Staffer: Thad | Posted: 09.01.09 Answer: Hello and welcome the WhatsAFile.com a .bak file is most usually a backup file. You say you know php so well use a php file as an example. Say I have a file called modules.php (a common file back when phpnuke was popular) if im upgrading my cms and i want to be careful and not write over a file, ill often rename the old file modules.bak before placing the new modules.php on the server. So thats what those are. However this also creates a security problem. Since php is server side code it prevents users on the site from seeing certain details that maybe they shouldnt. When you make that file a .bak file the users can now access that file and download it in its raw unprocessed format. So if you had some server side password in there you just gave it away. A good addition or alternative is to put those one a cd or deny access to the file from your .htaccess file. Before you try anything you should think about doing a free scan for .bak related registry errors. This will ensure your computer is ready to precede. |
| Rate This |
|
![]() |




