u can use section access in the script with OMIT clause.
Search "Section Access" in the Help of QlikView and u have an example.
U can use your excel file as section access table and Hide Filed with omit.
So when user opens file, relative userid and password must be entered.
Try my example, i use your credential. I loaded them inline in the script, but u can load form your file also.
I hope this help you and you can adapt this to your file.
SecureTest.qvw 143.2 K
HidePrefix only hides the field from view in the list. A user can still access the contents of the field by entering the field name into an expression in a list box. The best I can come up with is to make a dynamic field name made up of multiple parts that are autogenerated, each part stored in a variable (with unrelated names), then used in combination within the macro to get the full field name. Still think it is not enough to satisfy auditors though, all they see is a field that contains passwords that can be accessed by anyone.