As for the Director, in general, it's a fire demon so ice attacks and fire resistance are good ideas. Demons are outsiders so banishment might help. You may need a few healing potions.
The Director is optional as one could figure out the code with in-game information only (just takes a little more trial and error). Also, the wiki has the information in the quest section, but that's out-of-game information.