Making activeX object Safe

Dear Experts

I am wrote a simple client side code that checks if a file exists in a folder if it does, do something if not do something else  (see code snippet below)

As you probably know, I need to have IE settings changed on the client browser to allow this..I have been asked to mark this as safe, I have no idea where to this possibe, sample code please

objFSO = new ActiveXObject("Scripting.FileSystemObject");
                  if (objFSO.FileExists(strFileName))
                        do something
                        do something else
                  // Internet settings need to be adjusted to allow ActiveX to run.
                  alert("ERROR: " + e.description + " :Please check your Internet Explorer Security Active Controls Setting.");
Who is Participating?
ZylochConnect With a Mentor Commented:
Seems a bit outdated, but the general concept should be the same. Get it signed and certified, I guess...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.