Every see this error when you’re publishing a web site through UAG? I’ve seen it a couple of times and it took a while to figure out. Here’s a good blog post on how you can solve the problem yourself is a lot less time
Getting an Error “You have attempted to access a restricted URL” while accessing an application published through Forefront Unified Access Gateway
HTH,
Deb