Officials have closed the Rosslyn Chapel in Midlothian for a week to allow filming of the bestselling Da Vinci Code by Dan Brown.
Tom Hanks will take the lead role in the movie
The medieval building has found new popularity because of its association with the best-selling novel.
But concern has been expressed that the unprecedented interest in the chapel will be damaging unless it is strictly controlled.
The chapel's trustees said protection of the site was always under review.
Agreement for the use of the location has been agreed between the trustees and Rose Line Productions.
The film will star Tom Hanks as Professor Robert Langdon.
The 15th century chapel first experienced a surge in visitors after the book's plot suggested it was built to house the secret of the Holy Grail.
Rosslyn Chapel has seen a surge in visitor numbers
Despite being derided by the Catholic church and many historians, Dan Brown's work has sold 17 million copies worldwide.
Trustees spokesman Stuart Beattie has said he is confident his colleagues will feel the film is value for money. Location fees alone could generate £100,000.
A spokesman for Rose Line Productions described Rosslyn as a "magnificent" building which would enhance the quality of the film.
Hanks will play the lead role with Audrey Tautou the female co-star. Oscar winner Ron Howard is directing.