I have installed JBoss Portal 2.2. I changed default/index.html such that it now contains a link to download something, say a zip file. My necessity is that the download should be allowed ONLY IF he's a loginned user. Else, should be directed to the login page to sign in. What should be the path for the download link in index.html OR which files should I modify to accomplish this? OR, is there any other idea (like by using jsp files in index.html)? Please suggest the best way; This is very urgent.