Yes it can be done. The complexity depends on how you obtain the user's login.
If you allow the user to input it - no biggie, you use that to validate against the group.
If you want the app. to detect the user, then you're not going to be able to use anonymous access as your authentication method. I believe their's a FAQ or at least a thread in the ASP forum that discusses how to determine the user's login name with Basic authentication.
AFA validating against the group, you'll use ADSI - of which you can find plenty of example scripts in the MSDN. Jon Hawkins