While archiving a file, you can click on the ‘Set password…’ option in the lower right corner of the window. The utility lets you determine a password for archived files. But this can be avoided in most cases with comprehensive knowledge of the program's features. While the WinRAR application is completely safe, you can get viruses by accidentally downloading malicious content from the internet or messages. To have the safest version of WinRAR, you should download the most recent release.