JERUSALEM, July 31 (Reuters) - Israeli Prime Minister Benjamin Netanyahu's national security adviser on Monday said the road to normalising ties with Saudi Arabia was "still long" while members of his hard-right cabinet ruled out concessions to Palestinians as part of any deal.

U.S. officials have sought for months to reach what would be a historic agreement that Netanyahu has said would be a huge step toward ending the Arab-Israeli conflict but that Riyadh has signalled would rest on Palestinian statehood.

U.S. President Joe Biden last week dispatched his national security adviser to Riyadh to discuss a possible deal, and on Friday said a rapprochement was "maybe under way".

"I can identify with what the United States president said in an interview a few days ago, where he said that the road is still long but that he thinks there will be a possibility of progress," national security adviser Tzachi Hanegbi told public broadcaster Kan, adding that Israel is not involved in the U.S.-Saudi discussions.

"I can say that Israel will not give in to anything that will erode its security," he added.

Asked whether this included Riyadh establishing a civilian nuclear programme on its soil, he said that for that, Israel's consent was not needed.

"Dozens of countries operate projects with civilian nuclear cores, and with nuclear endeavours for energy, this is not something that endangers them nor their neighbours."