🎴 Flashcard Mode
Java and Systems Programming Quiz
Card1 / 19
Mastered0
Review0
QuestionClick to flip
how can we provide authetication in Windows Service, So that it will not ask for user credentials at the time of installation
AnswerClick to flip back
A
By hard coding the user credentials in Windows Service file
💡 Explanation:
For Windows Services, you can hardcode user credentials in the service configuration file to prevent credential prompts during installation. However, this is a security anti-pattern as it stores credentials in plaintext. Options A and C are incorrect, making B the 'correct' answer among the choices despite being a poor practice.