BookmarkSubscribeRSS Feed
thanikondharish
Fluorite | Level 6
Ods html file="D:\class.html";
Proc report data=sashelp.class ;
Run;
Ods html close;

If I run above program the html file will form .
How to set password for that html file
Note: If any other person wants to see that html file it sholud be asked password
5 REPLIES 5
Kurt_Bremser
Super User

HTML files are simple text and therefore provide no password protection or similar. Store the file in a location where only the required persons can access it. This includes compressed archives which offer password protection.

thanikondharish
Fluorite | Level 6
How can we create using proc template(using java script)
thanikondharish
Fluorite | Level 6
Fine then how to create for XLSX file when we are exporting using proc
export
Kurt_Bremser
Super User

@thanikondharish wrote:
Fine then how to create for XLSX file when we are exporting using proc
export

From reading the documentation, I see no option to provide a password in SAS. Set the password in Excel, or follow my first advice.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1605 views
  • 0 likes
  • 2 in conversation