Possible to password a flash website page?

Is is possible to password a flash website page so that username and password are needed for access?

Is this something that can be created within Flash app itself or is third-party software needed?

Thanks.